package com.bingxue.edu.management.system.model.resp;

import com.mybatisflex.annotation.RelationManyToOne;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 字典项详情信息
 *
 * @author xunuo
 * @since 2024/07/23 10:41
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "字典项详情信息")
public class DictItemDetail extends DictItemResp {
    @Schema(description = "字典编码")
    @RelationManyToOne(selfField = "dictId", targetTable = "base_dict", targetField = "id", valueField = "code")
    private String dictCode;
}
